package com.example.entity;

import java.beans.Transient;
import java.time.LocalDate;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 * 
 * </p>
 *
 * @author 神
 * @since 2024-04-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class PsLineInfo implements Serializable {
    @TableId(value = "id",type= IdType.AUTO)
    private Integer id;

    /**
     * 线路编号
     */
    @TableField("lineCode")
    private String linecode;

    /**
     * 线路名称
     */
    @TableField("lineName")
    private String linename;

    /**
     * 线路长度
     */
    @TableField("lineLength")
    private Double linelength;

    /**
     * 回路长度
     */
    @TableField("backLength")
    private Double backlength;

    /**
     * 投运时间
     */
    @TableField("productDate")
    private LocalDate productdate;

    /**
     * 电压等级
     */
    @TableField("voltageLevel")
    private String voltagelevel;

    /**
     * 起始杆号ID
     */
    @TableField("startPole")
    private Long startpole;

    /**
     * 起始杆号CODE
     */
    @TableField("startPoleCode")
    private String startpolecode;

    /**
     * 终止杆号ID
     */
    @TableField("endPole")
    private Long endpole;

    /**
     * 终止杆号CODE
     */
    @TableField("endPoleCode")
    private String endpolecode;

    /**
     * 塔基数
     */
    @TableField("towerBaseNum")
    private Long towerbasenum;

    /**
     * 维修单位
     */
    @TableField("maintenanceCompany")
    private String maintenancecompany;

    /**
     * 运行状态id
     */
    @TableField("runningStatus")
    private Integer runningstatus;

    /**
     * 运行状态name
     */
    @TableField("runningStatusName")
    private String runningstatusname;

    /**
     * 备注
     */
    private String common;

    /**
     * 是否启用（1、启用0、不启用）
     */
    @TableField("isStart")
    private Integer isstart;

    @TableField("creationTime")
    private LocalDateTime creationtime;

    @TableField("createdBy")
    private String createdby;

    @TableField("lastUpdateTime")
    private LocalDateTime lastupdatetime;

    @TableField(exist = false)
    private String configValueName;
    @TableField(exist = false)
    private Integer sId;
    @TableField(exist = false)
    private String isstartStr;



}
